
FROM nginx:1.15

RUN rm -rf /etc/nginx/conf.d/default.conf
RUN  rm -rf  /usr/share/nginx/html
RUN mkdir  -p  /usr/share/nginx/html
ADD docker/nginx.conf  /etc/nginx/nginx.conf

ADD docker/houxin-nginx.conf /etc/nginx/conf.d/default.conf

COPY dist/  /usr/share/nginx/html/

CMD ["nginx","-g","daemon off;"]
